package com.csun.cmny.provider.model.domain;

import com.csun.cmny.core.mybatis.BaseEntity;
import lombok.Data;

import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;

@Data
@Table(name = "cn_omc_convert")
public class OmcConvert extends BaseEntity {

    /**
     * 志愿者Id
     */
    @Column(name = "volunteer_id")
    private Long volunteerId;

    /**
     * 礼品Id
     */
    @Column(name = "gift_id")
    private Long giftId;

    /**
     * 礼品编号
     */
    @Column(name = "gift_no")
    private String giftNo;

    /**
     * 礼品名称
     */
    @Column(name = "gift_name")
    private String giftName;

    /**
     * 礼品图片
     */
    @Column(name = "gift_pic")
    private Long giftPic;

    /**
     * 礼品原价
     */
    private BigDecimal price;

    /**
     * 兑换积分
     */
    private Integer integral;

    /**
     * 礼品描述
     */
    @Column(name = "gift_remark")
    private String giftRemark;

    /**
     * 收货地址
     */
    private String address;

    /**
     * 兑换方式 offline-线下 online-线上
     */
    @Column(name = "convert_type")
    private String convertType;

    /**
     * 兑换状态 0-已兑换 1-待发货 2-已发货
     */
    private Integer stat;

    /**
     * 物流公司
     */
    @Column(name = "lgs_company")
    private String lgsCompany;

    /**
     * 物流单号
     */
    @Column(name = "lgs_number")
    private String lgsNumber;

    /**
     * 备注
     */
    private String remark;

    /**
     * 组织Id
     */
    private Long groupId;
}